import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from '@/request'

Vue.config.productionTip = false

// 设置默认工区
if (!localStorage.getItem('organizationId')) {
    localStorage.setItem('organizationId', 'none'); 
}
// 按需引入element-ui
import 'element-ui/lib/theme-chalk/index.css';  //新添加
import './element';
// 样式重置
import "@/common/styles/reset.scss";
// 引入echart
import "./chart"
// 引入moment处理时间
import moment from 'moment'//导入文件
Vue.prototype.$time = moment;//赋值使用

Vue.prototype.$axios = axios;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
